Add separate key mappings for left/right control/command on Nextstep (Bug#7458).
authorJan D. <jan.h.d@swipnet.se>
Sun, 21 Nov 2010 13:09:34 +0000 (14:09 +0100)
committerJan D. <jan.h.d@swipnet.se>
Sun, 21 Nov 2010 13:09:34 +0000 (14:09 +0100)
commit315ac266081ca24aff45cb61a5377aca5d4a45bb
treee6e6004f24460a2a97ae2a4311debd14993982ff
parentbecacd8ccbe1b6d387c52fe7658cec60a09ae2e4
Add separate key mappings for left/right control/command on Nextstep (Bug#7458).

* lisp/cus-start.el (all): Add ns-right-control-modifier and
ns-right-command-modifier.

* lisp/term/ns-win.el (ns-right-control-modifier)
(ns-right-command-modifier): Defvar them.

* src/nsterm.m (ns_right_command_modifier, ns_right_control_modifier):
Define (Bug#7458).
(NSRightCommandKeyMask, NSRightControlKeyMask): Define (Bug#7458).
(EV_MODIFIERS): Check for NSRightCommandKeyMask and
NSRightControlKeyMask also (Bug#7458).
(keyDown): Ditto (Bug#7458).
(syms_of_nsterm): Defvar ns-right-command-modifier and
ns-right-control-modifier (Bug#7458).
lisp/ChangeLog
lisp/cus-start.el
lisp/term/ns-win.el
src/ChangeLog
src/nsterm.m